package cn.zymall.common.model;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;

@Data
@EqualsAndHashCode(callSuper=true)
@AllArgsConstructor
@NoArgsConstructor
@TableName(value = "city_view")
public class CityView extends BaseEntity implements Serializable {
    @TableField(value = "districts_code")
    private String districtsCode;

    @TableField(value = "districts_name")
    private String districtsName;

    @TableField(value = "city_code")
    private String cityCode;

    @TableField(value = "city_name")
    private String cityName;

    @TableField(value = "province_name")
    private String provinceName;

    @TableField(value = "province_code")
    private String provinceCode;

    private static final long serialVersionUID = 1L;

    public static final String COL_DISTRICTS_CODE = "districts_code";

    public static final String COL_DISTRICTS_NAME = "districts_name";

    public static final String COL_CITY_CODE = "city_code";

    public static final String COL_CITY_NAME = "city_name";

    public static final String COL_PROVINCE_NAME = "province_name";

    public static final String COL_PROVINCE_CODE = "province_code";
}